text = input('请输入要统计的文本:')
list_text = []
for i in text:
    if 65 <= ord(i) <= 90:
        ascii_num = ord(i) + 32
    else:
        ascii_num = ord(i)
    list_text.append(ascii_num)
for i in range(97,123):
    print(f"字母:{chr(i)} {list_text.count(i)}次")
